package com.yfp.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.client.domain.AiPresetQuestion;
import com.yfp.client.mapper.AiPresetQuestionMapper;
import com.yfp.client.service.AiPresetQuestionService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @description 针对表【ai_preset_question(AI模型预设问题表)】的数据库操作Service实现
 * @createDate 2025-02-25 15:01:37
 */
@Service
public class AiPresetQuestionServiceImpl extends ServiceImpl<AiPresetQuestionMapper, AiPresetQuestion> implements AiPresetQuestionService {

    @Resource
    private AiPresetQuestionMapper aiPresetQuestionMapper;

    @Override
    public List<AiPresetQuestion> searchAiPresetQuestion() {
        List<AiPresetQuestion> aiPresetQuestions = aiPresetQuestionMapper.searchAiPresetQuestion();
        return aiPresetQuestions;
    }
}




